package com.whty.mongodemo.route;

import com.whty.mongodemo.handler.FormDataHandler;
import io.vertx.ext.web.Router;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class FormData {

  private final FormDataHandler handler = new FormDataHandler();

  private final static String prefix = "/formData";

  public void init(Router router) {
    router.post(prefix + "/insert").handler(handler.insert());
  }
}
